// @ts-ignore
/* eslint-disable */
import request from '@/util/request'

/** 此处后端没有提供注释 POST /upload */
export async function uploadImage(data: API.uploadImageParams, options?: { [key: string]: any }) {
  return request<API.BaseResponseString>('/upload/image', {
    method: 'POST',
    data,
    ...(options || {}),
  })
}
